package cn.iocoder.yudao.module.knowledge.controller.admin.tree.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 知识库结构树 Response VO")
@Data
@ExcelIgnoreUnannotated
public class KnowledgeTreeRespVO {

    @Schema(description = "数据id", requiredMode = Schema.RequiredMode.REQUIRED, example = "19503")
    @ExcelProperty("数据id")
    private Long id;

    @Schema(description = "数据创建时间")
    @ExcelProperty("数据创建时间")
    private LocalDateTime createTime;

    @Schema(description = "上级节点id", example = "17962")
    @ExcelProperty("上级节点id")
    private Long parentId;

    @Schema(description = "节点名称", example = "芋艿")
    @ExcelProperty("节点名称")
    private String nodeName;

    @Schema(description = "排序", example = "1")
    @ExcelProperty("排序")
    private int  orderIndex;

}